home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 May / SGI IRIX 6.5 Complementary Applications 2004 May.iso / dist / OpenOffice.idb / usr / OpenOffice / help / en / sbasic.jar / text / sbasic / common / 03090103.xml < prev    next >
Encoding:
Extensible Markup Language  |  2002-01-24  |  1.4 KB  |  20 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>IIf Statement [Runtime]</title><meta name="filename" content="text/sbasic/common/03090103"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         p.P1{
  5.                 }
  6.         span.T1{
  7.                 font-weight:bold;}
  8.         </style></head><body>
  9.   
  10.   
  11.   <help:to-be-embedded Eid="iif" xmlns:help="http://openoffice.org/2000/help">
  12.   <p class="Head1"><help:link Id="66560">IIf Statement [Runtime]</help:link></p>
  13.   <p class="Paragraph">Returns one of two possible function results, depending on the logical value of the evaluated expression.</p>
  14.   </help:to-be-embedded>
  15.   <p class="Paragraph"><span class="T1">Syntax</span>:</p>
  16.   <p class="Paragraph">IIf (Expression, ExpressionTrue, ExpressionFalse) <help:key-word value="IIf" tag="kw66560_1" xmlns:help="http://openoffice.org/2000/help"/></p>
  17.   <p class="Paragraph"><span class="T1">Parameter</span>:</p>
  18.   <p class="Paragraph">Expression: Any expression to be evaluated. If the expression evaluates to <span class="T1">True</span>, the function returns the result of ExpressionTrue; otherwise it returns the result of ExpressionFalse.</p>
  19.   <p class="Paragraph">ExpressionTrue, ExpressionFalse : Any expressions, one of which will be returned as the function result, depending on the logical evaluation.</p>
  20.  </body></html>